﻿using System.Web.Security;
using PCE.Core;

namespace PCE.Mvc
{
	public class FormsAuthenticator : IAuthenticator
	{
		public void SignIn(int id)
		{
			FormsAuthentication.SetAuthCookie(id.ToString(), false);
		}

		public void SignOut()
		{
			FormsAuthentication.SignOut();
		}
	}
}